package weixinkeji.dev.dc.base.scheme.combo.h;

import MyUI.ligerUI.service.LigeruiService;
import sys.wx.ann.hm.H;
import sys.wx.ann.hm.M;
import sys.wx.c.ATR;
import sys.wx.c.components.check.bean.CheckData;
import sys.wx.c.components.cv.CV;
import weixinkeji.dev.dc.base.scheme.combo.so.ComboBSO;

/**
 *
 * @author IMY
 */
@H("weixinkeji/dev/dc/base/scheme/combo/combob/s")
public class ComboBS {

    @M("/manager") //weixinkeji/dev/dc/base/scheme/combo/combob/s/manager.imy
    public static String manager(ATR a) {
        String id = CV.getParameter(a.request, "combo_id", CheckData.ID);
        if (null == id) {
            return null;
        }
        a.printOne(LigeruiService.getGRID(ComboBSO.selectAll(id)));
        return null;
    }

}
